package edu.zut.software.identity.domain;

import com.sun.istack.Nullable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name="tea_major")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class TeaMajor {
    @Id
    @Column
    String id;
    @Column
    String name;
    @Column
    @Nullable
    int wxId;
    @Column
    int px;
    @Column
    String collegeId;
}
